home *** CD-ROM | disk | FTP | other *** search
- #ifndef _TYPES_
- #define _TYPES_
- #include "os.h"
-
- #ifdef OS_DOS
- typedef void VOID;
- #endif
- typedef VOID * PVOID;
- typedef unsigned short USHORT;
- typedef USHORT * PUSHORT;
- typedef short SHORT;
- typedef SHORT * PSHORT;
- typedef unsigned long ULONG;
- typedef ULONG * PULONG;
- typedef long LONG;
- typedef LONG * PLONG;
- typedef unsigned char UCHAR;
- typedef UCHAR BYTE;
- typedef UCHAR * PUCHAR;
- typedef char CHAR;
- typedef CHAR * PCHAR;
-
- #ifdef OS_DOS
- typedef UCHAR * PSZ;
-
- #define MAXSHORT 32767;
- #define MINSHORT -32767;
-
- typedef enum bool {
- TRUE = 1,
- FALSE = 0
- } BOOL;
- #endif
-
- #define L_LENGTH 4
- #define S_LENGTH 2
- #define C_LENGTH 1
-
-
- #endif